package com.bootdo.wx.dao;

import com.bootdo.wx.domain.GoodsTypeParamgDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 类型参数分组名称关联表
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-03-19 16:39:23
 */
@Mapper
public interface GoodsTypeParamgDao {

	GoodsTypeParamgDO get(String id);
	
	List<GoodsTypeParamgDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsTypeParamgDO goodsTypeParamg);
	
	int update(GoodsTypeParamgDO goodsTypeParamg);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<GoodsTypeParamgDO> queryByTypeId(String typeId);

	int removeByTypeId(String id);
}
